package com.sinitek.web.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @program: elastic
 * @description:
 * @author: Mr.chen
 * @create: 2019-04-26 19:13
 */

/**
 * 通过索引名称、排序字段、关键词、分页参数获取文档集合(分词精确查询)
 * 一种略高级的查询，充分考虑了stop-word的低优先级，提高了查询精确性。
 *
 * @return
 */
@Data
public class FindAllCommonTermsByKeywordsRequest {


    @ApiModelProperty(notes = "排序字段名", example = "account_number")
    private String sortFieldName;
    @ApiModelProperty(notes = "排序方式(DESC)", example = "DESC")
    private String sortOrder;
    @ApiModelProperty(notes = "分页对象")
    private BasePageRequest basePageRequest;

    @ApiModelProperty(notes = "检索的字段名称", example = "address")
    private String searchFieldName;
    @ApiModelProperty(notes = "搜索关键词", example = "Vista")
    private Object keyWord;
}
